package com.scu.pojo;

import java.util.List;

/**
 * 帖子类
 */
public class Topic {
//    private int page;
//    private int limit;
    private String t_id;
    private String t_title;
    private String t_content;
    private String t_img;
    private String t_author_id;
    private String u_name;
    private String u_img;
    private String t_date; // 帖子创建的时间
    private String t_type;
    private int t_comment_num; // 帖子评论总数
    private String t_last_date; // 最近一条评论时间
    private String b_id;        //所属版块id
    private String b_title;     //所属版块名称
    private String t_top_status;//是否置顶
    private String t_elite_status;//是否加精
    private String t_delete_status;//是否删除
    private String t_close_status;//是否关闭帖子

    //该贴的回复
    private List<Comment> commentList;


    public String getU_img() {
        return u_img;
    }

    public void setU_img(String u_img) {
        this.u_img = u_img;
    }

    @Override
    public String toString(){
        return "t_id:"+t_id+",t_title:"+t_title+",t_content:"+t_content+",t_author_id:"+t_author_id+
                ",t_date:"+t_date+",t_type:"+t_type+",t_comment_num:"+t_comment_num+
                ",t_last_date:"+t_last_date+ ",b_id"+b_id+",t_top_status:"+t_top_status+
                ",t_elite_status:"+t_elite_status+",t_delete_status:"+t_delete_status+",t_close_status:"+t_close_status;
    }


//    public int getPage() {
//        return page;
//    }
//
//    public void setPage(int page) {
//        this.page = page;
//    }
//
//    public int getLimit() {
//        return limit;
//    }
//
//    public void setLimit(int limit) {
//        this.limit = limit;
//    }

    public String getT_id() {
        return t_id;
    }

    public void setT_id(String t_id) {
        this.t_id = t_id;
    }

    public String getT_title() {
        return t_title;
    }

    public void setT_title(String t_title) {
        this.t_title = t_title;
    }

    public String getT_content() {
        return t_content;
    }

    public void setT_content(String t_content) {
        this.t_content = t_content;
    }

    public String getT_img() {
        return t_img;
    }

    public void setT_img(String t_img) {
        this.t_img = t_img;
    }

    public String getT_author_id() {
        return t_author_id;
    }

    public void setT_author_id(String t_author_id) {
        this.t_author_id = t_author_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getT_date() {
        return t_date;
    }

    public void setT_date(String t_date) {
        this.t_date = t_date;
    }

    public String getT_type() {
        return t_type;
    }

    public void setT_type(String t_type) {
        this.t_type = t_type;
    }

    public int getT_comment_num() {
        return t_comment_num;
    }

    public void setT_comment_num(int t_comment_num) {
        this.t_comment_num = t_comment_num;
    }

    public String getT_last_date() {
        return t_last_date;
    }

    public void setT_last_date(String t_last_date) {
        this.t_last_date = t_last_date;
    }

    public String getB_id() {
        return b_id;
    }

    public void setB_id(String b_id) {
        this.b_id = b_id;
    }

    public String getB_title() {
        return b_title;
    }

    public void setB_title(String b_title) {
        this.b_title = b_title;
    }

    public String getT_top_status() {
        return t_top_status;
    }

    public void setT_top_status(String t_top_status) {
        this.t_top_status = t_top_status;
    }

    public String getT_elite_status() {
        return t_elite_status;
    }

    public void setT_elite_status(String t_elite_status) {
        this.t_elite_status = t_elite_status;
    }

    public String getT_delete_status() {
        return t_delete_status;
    }

    public void setT_delete_status(String t_delete_status) {
        this.t_delete_status = t_delete_status;
    }

    public String getT_close_status() {
        return t_close_status;
    }

    public void setT_close_status(String t_close_status) {
        this.t_close_status = t_close_status;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }
}
